#ifndef _EXCEPTIONS_H_
#define _EXCEPTIONS_H_
#include <cstring>

namespace DataStructuresWet1
{
class Exception
{
public:
	Exception(const char* message = NULL);
	const char* GetMessage();
protected:
	const char* message;
};

//class OutOfMemoryException : public Exception
//{
//public:
//	OutOfMemoryException(const char* message = NULL);
//};

class InvalidInputException : public Exception
{
public:
	InvalidInputException(const char* message = NULL);
};

class FailureException : public Exception
{
public:
	FailureException(const char* message = NULL);
};

}
#endif //_EXCEPTIONS_H_